package com.hkts.naturalgas.curvesettings.entity;

import lombok.Data;

/**
 * @ClassNameCurveStateParmaVo
 * @Description
 * @Author yck
 * @Date23/6/2022 下午9:49
 * @Version V1.0
 **/
@Data
public class CurveStateParamVo extends CurveState {
    /**
     * 系统波动时间
     */
    private Float  fluctuationTime;
    public CurveState getCurveState(){
        CurveState state=new CurveState();
        state.setId(this.getId());
        state.setSystemCurveState(this.getSystemCurveState());
        state.setSwitchingTime(this.getSwitchingTime());
        state.setSwitchBeginTime(this.getSwitchBeginTime());
        state.setWorkShopId(this.getWorkShopId());
        return state;
    }
}
